package com.generator.statics.inboundStatics.service;

import com.generator.statics.inboundStatics.pojo.*;
import com.generator.util.PageModel;

import java.util.List;

public interface IInboundStaticsService {

//    测试
//    public List<Warehouse> getWarehouse(Warehouse warehouse);

    //    查询所有入库记录
    public PageModel<QueryWarehouseList> QueryWarehouseList(QueryWarehouseList queryWarehouseList,PageModel<QueryWarehouseList> pageModel);

    //通过仓库id查询采购单信息
    public PageModel<JoinCountDetail> queryRkByWareID(JoinCountDetail joinCountDetail, PageModel<JoinCountDetail> pageModel);

    //获取省
    public List<Province> getAllProvince();

    //获取市
    public List<City> getAllCity(City city);

    //通过采购单查询采购单信息
    public CPurchaseDetail getCDetailsByPurchaseId(String purchaseid);

    //通过采购单号查询采购明细
    public List<CDetails> getGoodsByPurchaseId(String purchaseid);

    //根据条件查询入库记录
    public PageModel<QueryWarehouseList> queryWareHouseByCondition(WareHouseCondition wareHouseCondition, PageModel<QueryWarehouseList> pageModel);
}
